package com.onepower.core.modules.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 比赛-场地-裁判关联表
 * </p>
 *
 * @author kin
 * @since 2018-08-06
 */
@TableName("match_referee")
public class MatchReferee implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("match_id")
	private Integer matchId;
	@TableField("match_admin_id")
	private Integer matchAdminId;
    /**
     * 0.未登录 1.已登录
     */
	@TableField("is_login")
	private Integer isLogin;

	@TableField("check_time")
	private Date checkTime;

	@TableField("referee_id")
	private  Integer refereeId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMatchId() {
		return matchId;
	}

	public void setMatchId(Integer matchId) {
		this.matchId = matchId;
	}

	public Integer getMatchAdminId() {
		return matchAdminId;
	}

	public void setMatchAdminId(Integer matchAdminId) {
		this.matchAdminId = matchAdminId;
	}

	public Integer getIsLogin() {
		return isLogin;
	}

	public void setIsLogin(Integer isLogin) {
		this.isLogin = isLogin;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	@Override
	public String toString() {
		return "MatchReferee{" +
			", id=" + id +
			", matchId=" + matchId +
			", matchAdminId=" + matchAdminId +
			", isLogin=" + isLogin +
			", checkTime=" + checkTime +
			"}";
	}

	public Integer getRefereeId() {
		return refereeId;
	}

	public void setRefereeId(Integer refereeId) {
		this.refereeId = refereeId;
	}
}
